<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>发布帖子</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<script src="../js/mui.min.js"></script>
		<link rel="stylesheet" href="../css/mui.min.css">
	</head>
	<body>
		<div class="mui-navbar-inner mui-bar mui-bar-nav" style="background: linear-gradient(#a1e38c,#fff);">
			<span id="back" class="mui-icon mui-icon-closeempty"></span>
			<h1 class="mui-title">发布帖子</h1>
		</div>
		<div class="mui-content" style="padding-left:10px;padding-right:10px;"/>
			<input id="topicTitle" placeholder="输入标题" style="width:100%;padding:20px;margin:10px 0;height:40px;"/>
			<div style="background-color: #fff;padding:10px;height:100%;">
				<textarea id="topicDescribe" rows="15" maxlength="250" onchange="this.value=this.value.substring(0, 250)" onkeydown="this.value=this.value.substring(0, 250)" onkeyup="this.value=this.value.substring(0, 250)" placeholder="有好多话想说呢,描述一下~(250字以内)" style="border:none;"></textarea>
				<button id="publish_topic" style="margin:20px 0;width:100%;height:40px;background-color: #65ce77;border:none;">点击发布</button>
			</div>
		</div>
	</body>
	<script src="../js/mui.view.js "></script>
	<script src="../jquery.mobile-1.4.5/jquery-1.8.3.min.js"></script>
	<script src="../js/ajax.js"></script>
	<script src="../js/conf.js"></script>
	<script src="../js/jquery.cookie.js"></script>
	<script src="../js/publish-topic.js"></script>
	<script>
		$(function(){
			mui.init({});
			// $(".mui-content").height($(window).height());
			$("#back").click(function(){
				mui.back();//返回上一级页面
			});
		});
	</script>
</html>
